package com.example.system.service.impl;

import com.example.system.domain.UserLogin;
import com.example.system.mapper.UserMapper;
import com.example.system.service.UserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public UserLogin findByUser(String name,String password) {

        return userMapper.findByUser(name,password);
    }

}
